package org.jeecg.modules.shiro.authc.aspect;

import org.jeecg.modules.shiro.authc.config.DynamicDataSourceContextHolder;

import java.lang.annotation.*;

/**
 * 指定数据源注解, 不给定值时默认为master
 * @author sakur
 * @since 2022/11/14
 */
@Documented
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface DataSource {

    String value() default DynamicDataSourceContextHolder.DEFAULT_DATASOURCE;

}
